package com.xiaoshuidi.cloud.module.iot.dal.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tb_account")
public class TbAccountDo extends TenantBaseDO implements Serializable {
    private static final long serialVersionUID = -6127843899902036211L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * API账号编号
     */
    @TableField(value = "api_no")
    private String apiNo;

    /**
     * 品牌编号
     */
    @TableField(value = "brand_no")
    private String brandNo;

    /**
     * 品牌名称
     */
    @TableField(value = "brand_name")
    private String brandName;

    /**
     * 与品牌连接API账号
     */
    @TableField(value = "login_name")
    private String loginName;

    /**
     * 与品牌连接API密钥
     */
    @TableField(value = "login_key")
    private String loginKey;

    /**
     * 登录手机号
     */
    @TableField(value = "login_mobile")
    private String loginMobile;


    /**
     * 记录数据状态 1正常 0无效
     */
    @TableField(value = "status")
    private Integer status;
}